package com.pro.springbootshop.service;


import com.pro.springbootshop.entity.Wares;
import com.pro.springbootshop.entityExtend.Search;
import com.pro.springbootshop.entityExtend.SearchReturn;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface WaresService {
    SearchReturn findWares (Search search,String token);
    Wares getWares (Integer waresId);
    String deleteWares (Integer waresId);
    String insertWares(Wares wares);
    String updateWares(Wares wares);
    String upload(MultipartFile file, String sign, String path)throws IOException;
}
